package cn.com.headfree.vo;

public class UserVo {
	private String id;
	private String userId;
	private String userName;
	private String deptId;
	private String userType;
	private String userTypeName;//用户类型别名
	private String erpNo;
	
	@Override
	public boolean equals(Object obj) {
		if (obj != null) {
			if (obj instanceof UserVo) {
				UserVo vo = (UserVo)obj;
				if (this.userId.equals(vo.getUserId())) {
					return true;
				}
			}
		}
		return false;
	}
	
	@Override
	public int hashCode() {
		return this.userId.hashCode();
	}
	
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getDeptId() {
		return deptId;
	}

	public void setDeptId(String deptId) {
		this.deptId = deptId;
	}

	public String getUserType() {
		return userType;
	}

	public void setUserType(String userType) {
		this.userType = userType;
	}

	public String getUserTypeName() {
		return userTypeName;
	}

	public void setUserTypeName(String userTypeName) {
		this.userTypeName = userTypeName;
	}

	public String getErpNo() {
		return erpNo;
	}

	public void setErpNo(String erpNo) {
		this.erpNo = erpNo;
	}
}
